@import "~common/less/var";

.wrap {
  @size: 190px;

  .addWrap {
    overflow: hidden;
    position: relative;
    width: @size;
    height: @size;
    border: 1px solid @border-color;
    margin-bottom: 5px;
    cursor: pointer;

    &:after,
    &:before {
      content: " ";
      position: absolute;
      background-color: #666;
    }
    @percent: 50%;
    &:before {
      width: @percent;
      height: 1px;
      top: 50%;
      left: (100% - @percent) / 2;
    }
    &:after {
      height: @percent;
      width: 1px;
      top: (100% - @percent) / 2;
      left: 50%;
    }
  }


  .transparentWrap {
    font-size: 0 !important;
    overflow: hidden;
    position: relative;
    width: @size;
    height: @size;
    margin-bottom: 5px;

    canvas {
      position: absolute;
      top:0;
      left:0;
      z-index: 1;
    }

    .imgWrap {
      position: absolute;
      top:0;
      left:0;
      z-index: 2;
      text-align: center;
      width: @size;
      height: @size;
      cursor: pointer;

      img {
        max-width: @size;
        max-height: @size;
        min-height: @size;
        margin: 0 auto;
      }
    }
  }
  .text {
    margin-right: 15px;
    cursor: pointer;
    font-size: 12px;
  }
}


